#region MIT Licence
/*
 * Copyright (C) 2014 PdfCreative
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software 
 * and associated documentation files (the "Software"), to deal in the Software without restriction, 
 * including without limitation the rights to use, copy, modify, merge, publish, distribute, 
 * sublicense, and/or sell copies of the Software, and to permit persons to whom 
 * the Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included 
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE 
 * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
#endregion

using System;
using System.Collections.Generic;
using System.Text;

namespace PdfCreative.Pdf.Writer
{
    /// <summary>
    /// The TextRenderingMode enumeration lists the possible values for the text rendering mode. The values
    /// act as flags, which means some can be combined together.
    /// </summary>
    [Flags]
    public enum PdfTextRenderingMode
    {
        /// <summary>
        /// In the Fill mode, text graphics are filled in but not drawn the outlines of.
        /// </summary>
        Fill =              0x0,

        /// <summary>
        /// In the Stroke mode, text graphics are drawn as outlines only.
        /// </summary>
        Stroke =            0x1,

        /// <summary>
        /// In the FillAndStroke mode, text graphics are filled in and their outlines drawn.
        /// </summary>
        FillAndStroke =     0x2,

        /// <summary>
        /// In the Invisible mode, no text graphics are drawn.
        /// </summary>
        Invisible =         0x3,

        /// <summary>
        /// In the FillAndClip mode, text graphics are filled in and then added for clipping.
        /// </summary>
        FillAndClip =       0x4,

        /// <summary>
        /// In the StrokeAndClip mode, the outlines of text graphics are drawn, and then added for clipping.
        /// </summary>
        StrokeAndClip =     0x5,

        /// <summary>
        /// In the FillStrokeAndClip mode, text graphics are filled in, and outlines drawn, and then added
        /// for clipping.
        /// </summary>
        FillStrokeAndClip = 0x6,

        /// <summary>
        /// In the ClipOnly mode, text graphics are added for clipping only.
        /// </summary>
        ClipOnly =          0x7
    }
}
